<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">  
  
<html xmlns="http://www.w3.org/1999/xhtml"  
    xmlns:ui="http://java.sun.com/jsf/facelets"  
    xmlns:h="http://java.sun.com/jsf/html"  
    xmlns:f="http://java.sun.com/jsf/core"> 

<h:head>
	<title>Efetuar login</title>
</h:head>

<h:body> 
	<fieldset>
		<legend style="FONT-FAMILY: 'Calibri'; FONT-SIZE: small;">Efetuar Login</legend>
		<h:form style="FONT-FAMILY: 'Calibri'; FONT-SIZE: small;">
			Nome: 
			<h:inputText value="#{loginUserBean.user.name}" style="FONT-FAMILY: 'Calibri'; FONT-SIZE: small;" label="Nome" required="true" />
			Senha:
			<h:inputSecret value="#{loginUserBean.user.password}" label="Senha" required="true"/>
			<h:commandButton action="#{loginUserBean.loginUser()}" value="Enviar"/>
			<h:messages errorStyle="color: red; border:1" style="color: red; border:1"/>
		</h:form>
	</fieldset>
</h:body> 
</html>
